package com.auto_code.gen_project.domain.gen;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class ProFunArgCriteria {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    protected Integer mysqlOffset;

    protected Integer mysqlLength;

    public ProFunArgCriteria() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    /**
     * @param mysqlOffset 
	 *            指定返回记录行的偏移量<br>
	 *            mysqlOffset= 5,mysqlLength=10;  // 检索记录行 6-15
     */
    public void setMysqlOffset(Integer mysqlOffset) {
        this.mysqlOffset=mysqlOffset;
    }

    /**
     * @param mysqlLength 
	 *            指定返回记录行的最大数目<br>
	 *            mysqlOffset= 5,mysqlLength=10;  // 检索记录行 6-15
     */
    public Integer getMysqlOffset() {
        return mysqlOffset;
    }

    /**
     * @param mysqlOffset 
	 *            指定返回记录行的偏移量<br>
	 *            mysqlOffset= 5,mysqlLength=10;  // 检索记录行 6-15
     */
    public void setMysqlLength(Integer mysqlLength) {
        this.mysqlLength=mysqlLength;
    }

    /**
     * @param mysqlLength 
	 *            指定返回记录行的最大数目<br>
	 *            mysqlOffset= 5,mysqlLength=10;  // 检索记录行 6-15
     */
    public Integer getMysqlLength() {
        return mysqlLength;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("ID is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("ID is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(String value) {
            addCriterion("ID =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(String value) {
            addCriterion("ID <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(String value) {
            addCriterion("ID >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(String value) {
            addCriterion("ID >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(String value) {
            addCriterion("ID <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(String value) {
            addCriterion("ID <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLike(String value) {
            addCriterion("ID like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotLike(String value) {
            addCriterion("ID not like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<String> values) {
            addCriterion("ID in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<String> values) {
            addCriterion("ID not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(String value1, String value2) {
            addCriterion("ID between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(String value1, String value2) {
            addCriterion("ID not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andArgTypeIsNull() {
            addCriterion("ARG_TYPE is null");
            return (Criteria) this;
        }

        public Criteria andArgTypeIsNotNull() {
            addCriterion("ARG_TYPE is not null");
            return (Criteria) this;
        }

        public Criteria andArgTypeEqualTo(String value) {
            addCriterion("ARG_TYPE =", value, "argType");
            return (Criteria) this;
        }

        public Criteria andArgTypeNotEqualTo(String value) {
            addCriterion("ARG_TYPE <>", value, "argType");
            return (Criteria) this;
        }

        public Criteria andArgTypeGreaterThan(String value) {
            addCriterion("ARG_TYPE >", value, "argType");
            return (Criteria) this;
        }

        public Criteria andArgTypeGreaterThanOrEqualTo(String value) {
            addCriterion("ARG_TYPE >=", value, "argType");
            return (Criteria) this;
        }

        public Criteria andArgTypeLessThan(String value) {
            addCriterion("ARG_TYPE <", value, "argType");
            return (Criteria) this;
        }

        public Criteria andArgTypeLessThanOrEqualTo(String value) {
            addCriterion("ARG_TYPE <=", value, "argType");
            return (Criteria) this;
        }

        public Criteria andArgTypeLike(String value) {
            addCriterion("ARG_TYPE like", value, "argType");
            return (Criteria) this;
        }

        public Criteria andArgTypeNotLike(String value) {
            addCriterion("ARG_TYPE not like", value, "argType");
            return (Criteria) this;
        }

        public Criteria andArgTypeIn(List<String> values) {
            addCriterion("ARG_TYPE in", values, "argType");
            return (Criteria) this;
        }

        public Criteria andArgTypeNotIn(List<String> values) {
            addCriterion("ARG_TYPE not in", values, "argType");
            return (Criteria) this;
        }

        public Criteria andArgTypeBetween(String value1, String value2) {
            addCriterion("ARG_TYPE between", value1, value2, "argType");
            return (Criteria) this;
        }

        public Criteria andArgTypeNotBetween(String value1, String value2) {
            addCriterion("ARG_TYPE not between", value1, value2, "argType");
            return (Criteria) this;
        }

        public Criteria andArgTypeIdIsNull() {
            addCriterion("ARG_TYPE_ID is null");
            return (Criteria) this;
        }

        public Criteria andArgTypeIdIsNotNull() {
            addCriterion("ARG_TYPE_ID is not null");
            return (Criteria) this;
        }

        public Criteria andArgTypeIdEqualTo(String value) {
            addCriterion("ARG_TYPE_ID =", value, "argTypeId");
            return (Criteria) this;
        }

        public Criteria andArgTypeIdNotEqualTo(String value) {
            addCriterion("ARG_TYPE_ID <>", value, "argTypeId");
            return (Criteria) this;
        }

        public Criteria andArgTypeIdGreaterThan(String value) {
            addCriterion("ARG_TYPE_ID >", value, "argTypeId");
            return (Criteria) this;
        }

        public Criteria andArgTypeIdGreaterThanOrEqualTo(String value) {
            addCriterion("ARG_TYPE_ID >=", value, "argTypeId");
            return (Criteria) this;
        }

        public Criteria andArgTypeIdLessThan(String value) {
            addCriterion("ARG_TYPE_ID <", value, "argTypeId");
            return (Criteria) this;
        }

        public Criteria andArgTypeIdLessThanOrEqualTo(String value) {
            addCriterion("ARG_TYPE_ID <=", value, "argTypeId");
            return (Criteria) this;
        }

        public Criteria andArgTypeIdLike(String value) {
            addCriterion("ARG_TYPE_ID like", value, "argTypeId");
            return (Criteria) this;
        }

        public Criteria andArgTypeIdNotLike(String value) {
            addCriterion("ARG_TYPE_ID not like", value, "argTypeId");
            return (Criteria) this;
        }

        public Criteria andArgTypeIdIn(List<String> values) {
            addCriterion("ARG_TYPE_ID in", values, "argTypeId");
            return (Criteria) this;
        }

        public Criteria andArgTypeIdNotIn(List<String> values) {
            addCriterion("ARG_TYPE_ID not in", values, "argTypeId");
            return (Criteria) this;
        }

        public Criteria andArgTypeIdBetween(String value1, String value2) {
            addCriterion("ARG_TYPE_ID between", value1, value2, "argTypeId");
            return (Criteria) this;
        }

        public Criteria andArgTypeIdNotBetween(String value1, String value2) {
            addCriterion("ARG_TYPE_ID not between", value1, value2, "argTypeId");
            return (Criteria) this;
        }

        public Criteria andArgTypeNameIsNull() {
            addCriterion("ARG_TYPE_NAME is null");
            return (Criteria) this;
        }

        public Criteria andArgTypeNameIsNotNull() {
            addCriterion("ARG_TYPE_NAME is not null");
            return (Criteria) this;
        }

        public Criteria andArgTypeNameEqualTo(String value) {
            addCriterion("ARG_TYPE_NAME =", value, "argTypeName");
            return (Criteria) this;
        }

        public Criteria andArgTypeNameNotEqualTo(String value) {
            addCriterion("ARG_TYPE_NAME <>", value, "argTypeName");
            return (Criteria) this;
        }

        public Criteria andArgTypeNameGreaterThan(String value) {
            addCriterion("ARG_TYPE_NAME >", value, "argTypeName");
            return (Criteria) this;
        }

        public Criteria andArgTypeNameGreaterThanOrEqualTo(String value) {
            addCriterion("ARG_TYPE_NAME >=", value, "argTypeName");
            return (Criteria) this;
        }

        public Criteria andArgTypeNameLessThan(String value) {
            addCriterion("ARG_TYPE_NAME <", value, "argTypeName");
            return (Criteria) this;
        }

        public Criteria andArgTypeNameLessThanOrEqualTo(String value) {
            addCriterion("ARG_TYPE_NAME <=", value, "argTypeName");
            return (Criteria) this;
        }

        public Criteria andArgTypeNameLike(String value) {
            addCriterion("ARG_TYPE_NAME like", value, "argTypeName");
            return (Criteria) this;
        }

        public Criteria andArgTypeNameNotLike(String value) {
            addCriterion("ARG_TYPE_NAME not like", value, "argTypeName");
            return (Criteria) this;
        }

        public Criteria andArgTypeNameIn(List<String> values) {
            addCriterion("ARG_TYPE_NAME in", values, "argTypeName");
            return (Criteria) this;
        }

        public Criteria andArgTypeNameNotIn(List<String> values) {
            addCriterion("ARG_TYPE_NAME not in", values, "argTypeName");
            return (Criteria) this;
        }

        public Criteria andArgTypeNameBetween(String value1, String value2) {
            addCriterion("ARG_TYPE_NAME between", value1, value2, "argTypeName");
            return (Criteria) this;
        }

        public Criteria andArgTypeNameNotBetween(String value1, String value2) {
            addCriterion("ARG_TYPE_NAME not between", value1, value2, "argTypeName");
            return (Criteria) this;
        }

        public Criteria andCollectionTypeIsNull() {
            addCriterion("COLLECTION_TYPE is null");
            return (Criteria) this;
        }

        public Criteria andCollectionTypeIsNotNull() {
            addCriterion("COLLECTION_TYPE is not null");
            return (Criteria) this;
        }

        public Criteria andCollectionTypeEqualTo(String value) {
            addCriterion("COLLECTION_TYPE =", value, "collectionType");
            return (Criteria) this;
        }

        public Criteria andCollectionTypeNotEqualTo(String value) {
            addCriterion("COLLECTION_TYPE <>", value, "collectionType");
            return (Criteria) this;
        }

        public Criteria andCollectionTypeGreaterThan(String value) {
            addCriterion("COLLECTION_TYPE >", value, "collectionType");
            return (Criteria) this;
        }

        public Criteria andCollectionTypeGreaterThanOrEqualTo(String value) {
            addCriterion("COLLECTION_TYPE >=", value, "collectionType");
            return (Criteria) this;
        }

        public Criteria andCollectionTypeLessThan(String value) {
            addCriterion("COLLECTION_TYPE <", value, "collectionType");
            return (Criteria) this;
        }

        public Criteria andCollectionTypeLessThanOrEqualTo(String value) {
            addCriterion("COLLECTION_TYPE <=", value, "collectionType");
            return (Criteria) this;
        }

        public Criteria andCollectionTypeLike(String value) {
            addCriterion("COLLECTION_TYPE like", value, "collectionType");
            return (Criteria) this;
        }

        public Criteria andCollectionTypeNotLike(String value) {
            addCriterion("COLLECTION_TYPE not like", value, "collectionType");
            return (Criteria) this;
        }

        public Criteria andCollectionTypeIn(List<String> values) {
            addCriterion("COLLECTION_TYPE in", values, "collectionType");
            return (Criteria) this;
        }

        public Criteria andCollectionTypeNotIn(List<String> values) {
            addCriterion("COLLECTION_TYPE not in", values, "collectionType");
            return (Criteria) this;
        }

        public Criteria andCollectionTypeBetween(String value1, String value2) {
            addCriterion("COLLECTION_TYPE between", value1, value2, "collectionType");
            return (Criteria) this;
        }

        public Criteria andCollectionTypeNotBetween(String value1, String value2) {
            addCriterion("COLLECTION_TYPE not between", value1, value2, "collectionType");
            return (Criteria) this;
        }

        public Criteria andCommentIsNull() {
            addCriterion("COMMENT is null");
            return (Criteria) this;
        }

        public Criteria andCommentIsNotNull() {
            addCriterion("COMMENT is not null");
            return (Criteria) this;
        }

        public Criteria andCommentEqualTo(String value) {
            addCriterion("COMMENT =", value, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentNotEqualTo(String value) {
            addCriterion("COMMENT <>", value, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentGreaterThan(String value) {
            addCriterion("COMMENT >", value, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentGreaterThanOrEqualTo(String value) {
            addCriterion("COMMENT >=", value, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentLessThan(String value) {
            addCriterion("COMMENT <", value, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentLessThanOrEqualTo(String value) {
            addCriterion("COMMENT <=", value, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentLike(String value) {
            addCriterion("COMMENT like", value, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentNotLike(String value) {
            addCriterion("COMMENT not like", value, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentIn(List<String> values) {
            addCriterion("COMMENT in", values, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentNotIn(List<String> values) {
            addCriterion("COMMENT not in", values, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentBetween(String value1, String value2) {
            addCriterion("COMMENT between", value1, value2, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentNotBetween(String value1, String value2) {
            addCriterion("COMMENT not between", value1, value2, "comment");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("CREATE_TIME is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("CREATE_TIME is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("CREATE_TIME =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("CREATE_TIME <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("CREATE_TIME >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("CREATE_TIME >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("CREATE_TIME <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("CREATE_TIME <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("CREATE_TIME in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("CREATE_TIME not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("CREATE_TIME between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("CREATE_TIME not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andFunIdIsNull() {
            addCriterion("FUN_ID is null");
            return (Criteria) this;
        }

        public Criteria andFunIdIsNotNull() {
            addCriterion("FUN_ID is not null");
            return (Criteria) this;
        }

        public Criteria andFunIdEqualTo(String value) {
            addCriterion("FUN_ID =", value, "funId");
            return (Criteria) this;
        }

        public Criteria andFunIdNotEqualTo(String value) {
            addCriterion("FUN_ID <>", value, "funId");
            return (Criteria) this;
        }

        public Criteria andFunIdGreaterThan(String value) {
            addCriterion("FUN_ID >", value, "funId");
            return (Criteria) this;
        }

        public Criteria andFunIdGreaterThanOrEqualTo(String value) {
            addCriterion("FUN_ID >=", value, "funId");
            return (Criteria) this;
        }

        public Criteria andFunIdLessThan(String value) {
            addCriterion("FUN_ID <", value, "funId");
            return (Criteria) this;
        }

        public Criteria andFunIdLessThanOrEqualTo(String value) {
            addCriterion("FUN_ID <=", value, "funId");
            return (Criteria) this;
        }

        public Criteria andFunIdLike(String value) {
            addCriterion("FUN_ID like", value, "funId");
            return (Criteria) this;
        }

        public Criteria andFunIdNotLike(String value) {
            addCriterion("FUN_ID not like", value, "funId");
            return (Criteria) this;
        }

        public Criteria andFunIdIn(List<String> values) {
            addCriterion("FUN_ID in", values, "funId");
            return (Criteria) this;
        }

        public Criteria andFunIdNotIn(List<String> values) {
            addCriterion("FUN_ID not in", values, "funId");
            return (Criteria) this;
        }

        public Criteria andFunIdBetween(String value1, String value2) {
            addCriterion("FUN_ID between", value1, value2, "funId");
            return (Criteria) this;
        }

        public Criteria andFunIdNotBetween(String value1, String value2) {
            addCriterion("FUN_ID not between", value1, value2, "funId");
            return (Criteria) this;
        }

        public Criteria andNameIsNull() {
            addCriterion("NAME is null");
            return (Criteria) this;
        }

        public Criteria andNameIsNotNull() {
            addCriterion("NAME is not null");
            return (Criteria) this;
        }

        public Criteria andNameEqualTo(String value) {
            addCriterion("NAME =", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotEqualTo(String value) {
            addCriterion("NAME <>", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThan(String value) {
            addCriterion("NAME >", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThanOrEqualTo(String value) {
            addCriterion("NAME >=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThan(String value) {
            addCriterion("NAME <", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThanOrEqualTo(String value) {
            addCriterion("NAME <=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLike(String value) {
            addCriterion("NAME like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotLike(String value) {
            addCriterion("NAME not like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameIn(List<String> values) {
            addCriterion("NAME in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotIn(List<String> values) {
            addCriterion("NAME not in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameBetween(String value1, String value2) {
            addCriterion("NAME between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotBetween(String value1, String value2) {
            addCriterion("NAME not between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andPidIsNull() {
            addCriterion("PID is null");
            return (Criteria) this;
        }

        public Criteria andPidIsNotNull() {
            addCriterion("PID is not null");
            return (Criteria) this;
        }

        public Criteria andPidEqualTo(String value) {
            addCriterion("PID =", value, "pid");
            return (Criteria) this;
        }

        public Criteria andPidNotEqualTo(String value) {
            addCriterion("PID <>", value, "pid");
            return (Criteria) this;
        }

        public Criteria andPidGreaterThan(String value) {
            addCriterion("PID >", value, "pid");
            return (Criteria) this;
        }

        public Criteria andPidGreaterThanOrEqualTo(String value) {
            addCriterion("PID >=", value, "pid");
            return (Criteria) this;
        }

        public Criteria andPidLessThan(String value) {
            addCriterion("PID <", value, "pid");
            return (Criteria) this;
        }

        public Criteria andPidLessThanOrEqualTo(String value) {
            addCriterion("PID <=", value, "pid");
            return (Criteria) this;
        }

        public Criteria andPidLike(String value) {
            addCriterion("PID like", value, "pid");
            return (Criteria) this;
        }

        public Criteria andPidNotLike(String value) {
            addCriterion("PID not like", value, "pid");
            return (Criteria) this;
        }

        public Criteria andPidIn(List<String> values) {
            addCriterion("PID in", values, "pid");
            return (Criteria) this;
        }

        public Criteria andPidNotIn(List<String> values) {
            addCriterion("PID not in", values, "pid");
            return (Criteria) this;
        }

        public Criteria andPidBetween(String value1, String value2) {
            addCriterion("PID between", value1, value2, "pid");
            return (Criteria) this;
        }

        public Criteria andPidNotBetween(String value1, String value2) {
            addCriterion("PID not between", value1, value2, "pid");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("UPDATE_TIME is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("UPDATE_TIME is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("UPDATE_TIME =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("UPDATE_TIME <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("UPDATE_TIME >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("UPDATE_TIME >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("UPDATE_TIME <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("UPDATE_TIME <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("UPDATE_TIME in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("UPDATE_TIME not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("UPDATE_TIME between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("UPDATE_TIME not between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andValidIsNull() {
            addCriterion("VALID is null");
            return (Criteria) this;
        }

        public Criteria andValidIsNotNull() {
            addCriterion("VALID is not null");
            return (Criteria) this;
        }

        public Criteria andValidEqualTo(String value) {
            addCriterion("VALID =", value, "valid");
            return (Criteria) this;
        }

        public Criteria andValidNotEqualTo(String value) {
            addCriterion("VALID <>", value, "valid");
            return (Criteria) this;
        }

        public Criteria andValidGreaterThan(String value) {
            addCriterion("VALID >", value, "valid");
            return (Criteria) this;
        }

        public Criteria andValidGreaterThanOrEqualTo(String value) {
            addCriterion("VALID >=", value, "valid");
            return (Criteria) this;
        }

        public Criteria andValidLessThan(String value) {
            addCriterion("VALID <", value, "valid");
            return (Criteria) this;
        }

        public Criteria andValidLessThanOrEqualTo(String value) {
            addCriterion("VALID <=", value, "valid");
            return (Criteria) this;
        }

        public Criteria andValidLike(String value) {
            addCriterion("VALID like", value, "valid");
            return (Criteria) this;
        }

        public Criteria andValidNotLike(String value) {
            addCriterion("VALID not like", value, "valid");
            return (Criteria) this;
        }

        public Criteria andValidIn(List<String> values) {
            addCriterion("VALID in", values, "valid");
            return (Criteria) this;
        }

        public Criteria andValidNotIn(List<String> values) {
            addCriterion("VALID not in", values, "valid");
            return (Criteria) this;
        }

        public Criteria andValidBetween(String value1, String value2) {
            addCriterion("VALID between", value1, value2, "valid");
            return (Criteria) this;
        }

        public Criteria andValidNotBetween(String value1, String value2) {
            addCriterion("VALID not between", value1, value2, "valid");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}